/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package conexionBD;

import java.io.Serializable;
import java.sql.Connection;
import java.sql.DriverManager;

/**
 *
 * @author olvarey
 */
public class ConexionServidor implements Serializable {

    public Connection getConnection() throws Exception {
        Class.forName("org.postgresql.Driver");
        Connection con = DriverManager.getConnection("jdbc:postgresql://192.168.1.13:5432/SIECILO", "postgres", "secilio");
        return con;
    }
}
